.el-form--inline {
  .el-form-item {
    margin: 0 16px 16px 0;
  }
}
.el-form-item {
  margin-bottom: 20px;
  color: @modal-content-color;
  margin-bottom: 24px;
  .el-form-item__label {
    font-size: @font-content;
    // padding-right: 22px;
  }

  .el-form-item {
    display: inline-block;
  }

  &.is-required .el-form-item__label:before {
    color: @color-red;
    font-family: SimSun;
    font-size: @font-content;
    margin-right: 7px;
  }

  &.is-error {

    .el-input__inner,
    .el-textarea__inner {

      &,
      &:hover {
        border-color: @color-red  !important;
      }

      &:focus {
        box-shadow: 0 0 0 1px rgba(240, 139, 45, 0.2);
      }
    }

    .rich-editor {
      .ql-toolbar {
        border-bottom-color: @color-red;
      }

      .ql-container {
        border-color: @color-red;
      }
    }
  }

  &.is-success {

    .el-input__inner,
    .el-textarea__inner {
      border-color: #e5e5e5;

      &:focus {
        border-color: @color-primary;
      }
    }
  }

  .el-form-item__error {
    color: @color-red;
    // padding-left: 14px;
  }
}
// 用于form-item下button与其他item对齐
.el-form-item__content {
  .el-button {
    margin-top: 3px;
  }
}